package com.kitty.game.role.message;

import com.kitty.game.role.RoleInfo;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

import java.util.List;

/**
 * 角色列表
 */
@MessageMeta(module = Modules.MSG_EXISTED_CHAR_LIST)
public class RespExistedRoleList extends Message {
    private short serverState = 1;//服务器状态？
    private List<RoleInfo> list;
  //  private byte temp = 0;//新增？？？
    private int openServerTime;//服务器开放时间
    private byte account_online = 0;//帐号在线状态  0不在线 1在线 2托管中

    public short getServerState() {
        return serverState;
    }

    public void setServerState(short serverState) {
        this.serverState = serverState;
    }

    public List<RoleInfo> getList() {
        return list;
    }

    public void setList(List<RoleInfo> list) {
        this.list = list;
    }

//    public byte getTemp() {
//        return temp;
//    }
//
//    public void setTemp(byte temp) {
//        this.temp = temp;
//    }

    public int getOpenServerTime() {
        return openServerTime;
    }

    public void setOpenServerTime(int openServerTime) {
        this.openServerTime = openServerTime;
    }

    public byte getAccount_online() {
        return account_online;
    }

    public void setAccount_online(byte account_online) {
        this.account_online = account_online;
    }
}
